const connection = require('../../db/index')
const express = require("express");
const deletebook = express.Router();
//修改库存
deletebook.delete('/deletebook',(req,res) => {
    console.log(req.body)
    connection.query('delete from jisuanji where Id = '+rew+'', function(err, rows, fields) {
        if (err) {
            throw err
        }
        res.send({
            status:200
        })
    })
})


module.exports = deletebook